
import { request } from '@/utils/request.js'

export default {
    list(params = {}){
        return request({
            url: 'prm/act_step/list',
            method: 'get',
            params
        })
    },
    add(params = {}){
        return request({
            url: 'prm/act_step/save',
            method: 'post',
            data:params
        })
    },
    update(id,params = {}){
        params.id = id;
        return request({
            url: 'prm/act_step/update',
            method: 'post',
            data:params
        })
    },
    delete(params = {}){
        return request({
            url: 'prm/act_step/delete',
            method: 'post',
            data:params
        })
    },
    updateByField(params){
        return request({
            url: 'prm/act_step/updateByField',
            method: 'post',
            data:params
        })
    },
}
